package com.springboot.idempotence.redis.utils;


import java.util.UUID;

public class StringUtils {

    public static String uuid() {
        UUID uuid = UUID.randomUUID();
        return uuid.toString().replace("-", "");
    }

    public static boolean isEmpty(String param) {
        return param == null || param.trim().length() == 0;
    }
}
